<template>
  <div class="oaClerkSearch clickHide">
    <div class="module-header">
      <h1 class="multiple-EF-result">搜索结果</h1>
    </div>
    <div class="data_border_box oaClerkSearch-scroll">
      <table class="table directory_table">
        <tbody class="oaClerkSearch_tbody">
          <tr v-if="personInfo !== ''">
            <td>
              <img :src="'/static/resources/img/user-'+personInfo.picsex+'.jpg'">
            </td>
            <td>
              <p>
                <span>{{personInfo.lastname}}</span>
                <span>{{personInfo.workcode}}</span>
                <span>{{personInfo.mobile}}</span>
              </p>
              <p>
                <span>{{personInfo.jobtitle}}</span>
                <span>{{personInfo.departmentphone}}</span>
              </p>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>
</template>

<script>
    export default {
        name: "address-com",
        props:["personInfo"]
    }
</script>

<style scoped>

</style>
